size = int(input("请输入三角形的长度："))
i =1
temp = size
temp1 = size
temp3 = size

while i<=size:
    print("*\t"*i)
    i+=1
print("=====================")
while size !=0:
    print("*\t"*size)
    size-=1
print("=====================")

a = 0
while a !=temp:
    print(" \t"*a,"*\t"*temp1)
    temp1-=1
    a+=1
print("=====================")
b=0
while b!=temp3:
    print(" \t"*(temp3-b-1)+"*\t"*(b+1))
    b+=1












